package com.gjsh.a_private;

public class Test02 {
    public static void main(String[] args) {
        Person person = new Person();
//        为name赋值
        person.setName("张三");
        System.out.println(person.getName());

        person.seAge(-18);
        System.out.println(person.getAge());
//        person.name = "张三";
//        person.age = 18;
//
//        System.out.println(person.name);
//        System.out.println(person.age);
    }
}
